<?php get_header(); ?>
	<?php if(have_posts()) while(have_posts()) : the_post(); ?>
	<div class="cate-banner">
		<img src="<?php bloginfo("template_url"); ?>/images/single-banner.png" />
		<div class="row">
			<h1><?php the_title(); ?></h1>
			<p>Texas - Cibolo - 78108 - 212 Lakota Ct</p>
		</div><!---end .row-->
		<div class="clear"></div>
	</div><!--end .cate-banner-->
	<?php endwhile; ?>
	<div id="container" class="no-home-bg">
		<div class="row">
		<?php if(have_posts()) while(have_posts()) : the_post(); ?>
		<div class="content single-property">
			<!-- include features -->
			<?php require_once(BLOCK_PATH.'/zonthemes-properties-slider.php'); ?>
			<!-- end include features -->
			<div class="property-info">
				<?php $lease = zon_meta("zon_lease"); ?>
				<p class="property-status"><?php if($lease == "sale"){echo "For Sale";}else{echo "For Rent";} ?></p>
				<p class="property-price"><?php echo zon_meta("zon_price"); ?></p>
				<p class="property-date">Update: <?php the_modified_date(); ?></p>
				<ul class="property-list">
					<li class="property-area"><label>Area</label><?php echo zon_meta("zon_area"); ?> sq ft</li>
					<li class="property-bathroom"><label>Bathrooms</label><?php echo zon_meta("zon_tolet"); ?></li>
					<li class="property-bedroom"><label>Bedrooms</label><?php echo zon_meta("zon_bedroom"); ?></li>
				</ul>
				<ul class="property-social">
					<li class="gplus"><a href="#">google plus</a></li>
					<li class="facebook"><a href="#">facebook</a></li>
					<li class="twitter"><a href="#">twitter</a></li>
					<li class="pinterest"><a href="#">pinterest</a></li>
				</ul>
				<div class="play-video">
					<a class="fancybox" href="#iframe-video">Play Video</a>
					<div style="display: none;" id="iframe-video">
						<iframe width="420" height="315" src="//www.youtube.com/embed/GY0EZBtZFEM" frameborder="0" allowfullscreen></iframe>
					</div>
				</div>
			</div><!--end .property-info-->
			<div class="clear"></div>
			<div class="property-content">
				<?php the_content(); ?>
				<div class="clear"></div>
				<div class="property-featured">
					<h3 class="property-featured-title">Features:</h3>
					<ul>
						<?php $term_list = wp_get_post_terms($post->ID, 'features', array("fields" => "names")); ?>
						<?php
							foreach($term_list as $term){
								echo '<li>'.$term.'</li>';
							}
						?>
					</ul>
				</div><!--end .property-featured-->
				<div class="property-map">
					<h3 class="property-featured-title">Local Info:</h3>
					
				</div><!--end .property-map-->
				<div class="clear"></div>
			</div><!--end .property-content-->
			<div class="contact-info single-box">
				<h3 class="single-box-title">Contact info</h3>
				<ul>
					<div class="form-left">
						<li>
							<span>Your name</span></br>
							<input type="text" id="name">
						</li>
						<li>
							<span>Your email</span></br>
							<input type="text" id="mail">
						</li>
						<li>
							<span>Your phone</span></br>
							<input type="text" id="phone">
						</li>
					</div>
					<div class="form-right">
						<li>
							<span>Message</span></br>
							<textarea>

							</textarea>
						</li>
						<li>
							<input type="submit" class="submit" value="Send Message">
						</li>
					</div>
					<div class="clear"></div>
				</ul>
			</div><!--end .contact-info-->
			<div class="property-related single-box">
				<h3 class="single-box-title">Related Listings</h3>
				<ul class="pro-list">
					<li>
						<div class="list-img">
							<span class="list-new">New</span>
							<a href="#" class="view">View</a>
							<a href="#">
								<img class="pro-img" src="<?php bloginfo('template_url'); ?>/images/img/thumb-3.png" alt="" title="" />
							</a>
						</div>
						<p class="pro-list-title">
							<a href="#" title="">1903 Hollywood Boulevard</a>
						</p>
						<p class="pro-list-add">NY, New York, 10022</p>
						<p class="pro-list-desc">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration. but the majority have suffered alteration.</p>
						<p class="pro-list-price">Rent: <span>$200</span></p>
						<div class="pro-list-info">
							<span class="pro-list-area">100 sqft</span>
							<ul>
								<li class="pro-list-toilet">4</li>
								<li class="pro-list-bedroom">3</li>
							</ul>
							<div class="clear"></div>
						</div>
						<div class="clear"></div>
					</li>
					<li>
						<div class="list-img">
							<span class="list-new">New</span>
							<a href="#" class="view">View</a>
							<a href="#">
								<img class="pro-img" src="<?php bloginfo('template_url'); ?>/images/img/thumb-3.png" alt="" title="" />
							</a>
						</div>
						<p class="pro-list-title">
							<a href="#" title="">1903 Hollywood Boulevard</a>
						</p>
						<p class="pro-list-add">NY, New York, 10022</p>
						<p class="pro-list-desc">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration. but the majority have suffered alteration.</p>
						<p class="pro-list-price">Sell: <span>$2.000.000</span></p>
						<div class="pro-list-info">
							<span class="pro-list-area">100 sqft</span>
							<ul>
								<li class="pro-list-toilet">4</li>
								<li class="pro-list-bedroom">3</li>
							</ul>
							<div class="clear"></div>
						</div>
						<div class="clear"></div>
					</li>
					<li>
						<div class="list-img">
							<span class="list-new">New</span>
							<a href="#" class="view">View</a>
							<a href="#">
								<img class="pro-img" src="<?php bloginfo('template_url'); ?>/images/img/thumb-3.png" alt="" title="" />
							</a>
						</div>
						<p class="pro-list-title">
							<a href="#" title="">1903 Hollywood Boulevard</a>
						</p>
						<p class="pro-list-add">NY, New York, 10022</p>
						<p class="pro-list-desc">There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration. but the majority have suffered alteration.</p>
						<div class="pro-list-info">
							<span class="pro-list-area">100 sqft</span>
							<ul>
								<li class="pro-list-toilet">4</li>
								<li class="pro-list-bedroom">3</li>
							</ul>
							<div class="clear"></div>
						</div>
						<div class="clear"></div>
					</li>
					<div class="clear"></div>
				</ul>
			</div><!--end .property-related-->
		</div><!--end #content-->
		<?php endwhile; ?>
		<?php get_sidebar(); ?>
		<div class="clear"></div>
		</div><!--end .row-->
	</div><!--end #container-->
<?php get_footer(); ?>